package bank;
import java.util.Scanner;
public class yinhang {
        public static void mian(String[] args) {
            Scanner scanner = new Scanner(System.in);
            System.out.println("请输入你的身高:");
            int ht = scanner.nextInt();
            System.out.println("请输入你的体重:");
            int kg = scanner.nextInt();
            int BMI = ht / (kg * kg);
            System.out.println("" + BMI);
            if (BMI < 18.5) {
                System.out.println("过于轻");
            } else if (BMI < 25) {
                System.out.println("正常");
            } else if (BMI < 28) {
                System.out.println("过重");
            } else if (BMI <= 32) {
                System.out.println("肥胖");
            }else{
                System.out.println("非常肥胖");
            }



        }
    }


    /*public static void main(String[] args){
        //Scanner scanner=new Scanner(System.in);
        //System.out.println("是否插入银行卡");
        //银行卡信息
        //String bank=scanner.next();
        //判断条件
        //if(bank.equals("是")){
            //System.out.println("请输入六位密码");
            //}else{
            //System.out.println("请插入银行卡");
            //System.out.println("返回第一次操作");
        //}
            //else{
            //System.out.println("请插入你的银行卡");
            //System.out.println("请输入六位密码");
            //int num=scanner.nextInt();
            //int num1=123456;
            //if(num==num1){
                //System.out.println("欢迎进入我银行系统");
                //System.out.println("1:取钱");
                //System.out.println("2:存钱");
                //System.out.println("3:查看余额");
                //System.out.println("4:退出和取卡");
                //int num2 = scanner.nextInt();
                //int num3=100000;
                //switch(num2){
                    case 1 :
                        System.out.println("1:取钱");
                        int num4=scanner.nextInt();
                        if((num4<=num3)&&(num4>0)){
                            System.out.println("你已经取出"+num4 +"元");
                            System.out.println("你的余额是:"+(num3-num4));
                            System.out.println("是否取卡");
                            String bank1=scanner.next();
                            if(bank1.equals("是")){
                                System.out.println("请耐心等待一分钟，银行卡马上出来");
                                System.out.println("根据国家防诈骗政策影响，需要打印小票，并且免费");
                            }else{
                                System.out.println("请返回上次你要操作的的:");
                            }
                            break;
                        }
                        case 2:
                        System.out.println("2:存钱");
                        int num5 = scanner.nextInt();
                        System.out.println("你的存款金额为:"+num5);
                        System.out.println("你的余额为:"+num3+num5);
                        System.out.println("是否取卡");
                        String bank2=scanner.next();
                        if(bank2.equals("是")){
                            System.out.println("请耐心等待一分钟，银行卡马上出来");
                            System.out.println("根据国家防诈骗政策影响，需要打印小票，并且免费");
                        }
                        break;
                    case 3:
                        System.out.println("你的余额为:"+num3);
                        System.out.println("是否取卡");
                        String bank3=scanner.next();
                        if(bank3.equals("是")){
                            System.out.println("请耐心等待一分钟，银行卡马上出来");
                        }
                        //break;
                        else{
                            System.out.println("返回上次操作");
                            break;
                    }
                    case 4:
                        System.out.println("退出和取卡");
                        break;
                        default:
                        System.out.println("欢迎再来");
                        break;
            }
                }
    else{
    System.out.println("密码有误，请重新输入");}
    }}*/

 